<? 
	session_start();
	require_once('../inc/Item.php');
	function TotalAmount(){
		$cart = $_SESSION['cart'];
		print_r($cart);
		$amount = 0.00;
		foreach($cart as $row){
		   $newrow = GetItemDetail($row['id']);
		   print_r($newrow);
		   $total1 = $amount += $newrow['Price']; 
		   print_r($amount);
		}
		return $amount;
	}